#include "fxcc/yml/Serializer.h"
#include "fxcc/core/graph/common/Bones.h"

using namespace fxcc::yml;
using namespace fxcc::graph::common;


template<>
void Serializer::Encode<Bones>(YAML::Node& node, const Bones& inst)
{
	SetMapVariable<fxcc::graph::common::Bone>(node, "m_Bones", inst.m_Bones);

}
template<>
bool Serializer::Decode<Bones>(const YAML::Node& node, Bones& inst)
{
	GetMapVariable<fxcc::graph::common::Bone>(node, "m_Bones", inst.m_Bones);
	return true;
}
